package cn.ymjr.business.entity;

import cn.ymjr.sys.config.base.BaseModel;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;
@Table(name = "sys_information")
public class SysInformation extends BaseModel {
    @Id
    @Column(name = "id")
    private Integer id;

    private Integer infoType;

    private String infoTitle;

    private String infoCover;

    private String infoMemo;

    private String videoUrl;

    private Integer startNum;

    private Integer startUser;

    private String infoDetail;

    @Transient
    private boolean isStar;

    public boolean isStar() {
        return isStar;
    }

    public void setStar(boolean star) {
        isStar = star;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getInfoType() {
        return infoType;
    }

    public void setInfoType(Integer infoType) {
        this.infoType = infoType;
    }

    public String getInfoTitle() {
        return infoTitle;
    }

    public void setInfoTitle(String infoTitle) {
        this.infoTitle = infoTitle;
    }

    public String getInfoCover() {
        return infoCover;
    }

    public void setInfoCover(String infoCover) {
        this.infoCover = infoCover;
    }

    public String getInfoMemo() {
        return infoMemo;
    }

    public void setInfoMemo(String infoMemo) {
        this.infoMemo = infoMemo;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Integer getStartNum() {
        return startNum==null?0:startNum;
    }

    public void setStartNum(Integer startNum) {
        this.startNum = startNum;
    }

    public Integer getStartUser() {
        return startUser==null?0:startUser;
    }

    public void setStartUser(Integer startUser) {
        this.startUser = startUser;
    }

    public String getInfoDetail() {
        return infoDetail;
    }

    public void setInfoDetail(String infoDetail) {
        this.infoDetail = infoDetail;
    }
}